package com.hanamaki.unittest.testng.demo03;

import org.testng.annotations.Test;

/**
 * @author hanamaki
 * @version 1.0
 * @date 2021/7/6 15:37
 */
public class DependentTest {
    @Test(dependsOnMethods= {"OpenBrowser"})
    public void SinnIn() {
        System.out.println("SinnIn");
    }
    @Test
    public void OpenBrowser() {
        System.out.println("OpenBrowser");
    }
    @Test (dependsOnMethods= {"SinnIn"})
    public void LoginOut() {
        System.out.println("LoginOut");
    }
}
